package com.uidt.project.ptsj.domain;

import com.uidt.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uidt.framework.aspectj.lang.annotation.Excel;

/**
 * 附件对象 ptsj_file
 * 
 * @author uidt
 * @date 2024-08-28
 */
public class PtsjFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private String glid;

    /**  */
    @Excel(name = "")
    private String filename;

    /**  */
    @Excel(name = "")
    private String newfilename;

    /**  */
    @Excel(name = "")
    private String url;

    /**  */
    @Excel(name = "")
    private String originalfilename;

    /** 附件对应的表名 */
    @Excel(name = "附件对应的表名")
    private String tablename;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGlid(String glid) 
    {
        this.glid = glid;
    }

    public String getGlid() 
    {
        return glid;
    }
    public void setFilename(String filename) 
    {
        this.filename = filename;
    }

    public String getFilename() 
    {
        return filename;
    }
    public void setNewfilename(String newfilename) 
    {
        this.newfilename = newfilename;
    }

    public String getNewfilename() 
    {
        return newfilename;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setOriginalfilename(String originalfilename) 
    {
        this.originalfilename = originalfilename;
    }

    public String getOriginalfilename() 
    {
        return originalfilename;
    }
    public void setTablename(String tablename) 
    {
        this.tablename = tablename;
    }

    public String getTablename() 
    {
        return tablename;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("glid", getGlid())
            .append("filename", getFilename())
            .append("newfilename", getNewfilename())
            .append("url", getUrl())
            .append("originalfilename", getOriginalfilename())
            .append("tablename", getTablename())
            .toString();
    }
}
